<!DOCTYPE html>

<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">

<head>

    <meta charset="UTF-8">

    <title>Edit Teacher</title>

</head>

<body>

<form action="/teacher/update" method="post">

    <label>ID</label>

    <input type="text" name="id" th:value="${teacher.id}" readonly>

    <label>Name</label>

    <input type="text" name="name" th:value="${teacher.name}">

    <label>Age</label>

    <input type="text" name="age" th:value="${teacher.age}">

    <label>Tel</label>

    <input type="text" name="tel" th:value="${teacher.tel}">

    <input type="submit" value="Update">

</form>

</body>

</html>